        <!--tab标签-->
        <div class="layui-tab layui-tab-brief">
            <ul class="layui-tab-title">
                <li class="layui-this">授权管理</li>
            </ul>
            <div class="layui-tab-content">
                <div class="layui-tab-item layui-show">
                    <table class="layui-table">
                        <thead>
                            <tr>
                                <th style="width: 30px;">ID</th>
                                <th>操作账号</th>
                                <th>名称</th>
                                <th>注册主体</th>
                                <th>有效账号</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody>
                            {foreach name="wechat_list" item="vo"}
                            <tr>
                                <td>{$vo.id}</td>
                                <td>{$vo.admin_name}</td>
                                <td>{$vo.wxname}</td>
                                <td>{$vo.principal_name}</td>
                                <td>{$vo.valid_count}</td>
                                <td>
                                    <a href="{:url('admin/index/index',['id'=>$vo['id']])}" class="layui-btn layui-btn-normal layui-btn-mini">详情</a>
                                    {if condition="session('admin_id') eq 1"}
                                    <a href="javascript:;" onclick="authorforuser({$vo.id});" class="layui-btn layui-btn-normal layui-btn-mini">授权管理</a>
                                    {/if}
                                </td>
                            </tr>
                            {/foreach}
                        </tbody>
                    </table>
                </div>
            </div>
            <div style="text-align: center;">
                <a href="{:url('admin/index/author')}" class="layui-btn layui-btn-primary layui-btn-mini">点击扫码授权</a>
            </div>
        </div>